package com.wuwei.gulimall.product.dao;

import com.wuwei.gulimall.product.entity.AttrAttrgroupRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性&属性分组关联
 *
 * @author wuwei
 * @email 842063349@qq.com
 * @date 2022-05-25 14:45:07
 */
@Mapper
public interface AttrAttrgroupRelationDao extends BaseMapper<AttrAttrgroupRelationEntity> {

    void batchDeleteAttrGroupRelation(@Param("relationEntityList") List<AttrAttrgroupRelationEntity> relationEntityList);

    void batchAttrIdDelete(@Param("attrIds") List<Long> attrIds);

    void batchGroupDelete(@Param("attrGroupIds") List<Long> attrGroupIds);
}
